<template>
	<view class="uniCardLayOut">
		<view class="topCard">
			<view class="left">
				<!-- 每日推荐 -->
				<slot name="leftHeader"></slot>
			</view>
			<view class="right">
				<!-- 12号 -->
				<slot name="rightHeader"></slot>
			</view>
		</view>
		<view class="bottomCard">
			<slot></slot>
		</view>
	</view>
</template>

<script setup>

</script>

<style lang="scss" scoped>
	.uniCardLayOut {
		.topCard {
			height: 40rpx;
			padding: 0 25rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;

			.left {
				font-size: 40rpx;
				height: 100%;
				font-weight: bold;
				display: flex;
				justify-content: space-between;
				align-items: center;
			}

			.right {
				height: 100%;
				display: flex;
				justify-content: space-between;
				align-items: center;
			}
		}

		.bottomCard {
			margin-top: 30rpx;
		}
	}
</style>